home *** CD-ROM | disk | FTP | other *** search
- Path: sun001.spd.dsccc.com!sun001!dthornto
- From: dthornto@aplo266.spd.dsccc.com (Duane Thornton)
- Newsgroups: comp.lang.c++
- Subject: Re: help finding ranges of types
- Date: 30 Jan 1996 13:54:33 GMT
- Organization: none
- Message-ID: <DTHORNTO.96Jan30075433@aplo266.spd.dsccc.com>
- References: <4eiud1$r0u@geraldo.cc.utexas.edu>
- NNTP-Posting-Host: aplo266.spd.dsccc.com
- In-reply-to: trakas@mail.utexas.edu's message of 29 Jan 1996 16:59:13 GMT
-
- >>>>> On 29 Jan 1996 16:59:13 GMT, trakas@mail.utexas.edu (Travis Kaspar) said:
-
- Travis> I have to determine the ranges (ie allowable values) for
- Travis> all the basic types, without using sizeof(type). I know I
- Travis> could increment from 0 until the sign changed, but I don't
- Travis> think that will work with float, and there's bound to be
- Travis> an easier way (doesn't there?)
-
- Travis> Thanks,
- Travis> Travis Kaspar
- Travis> trakas@mail.utexas.edu
-
- Have you looked at the include file <limits.h> ?
-
- Duane
-
- ---------------------------- Duane Thornton --------------------------------
- Internet: dthornto@spd.dsccc.com Opinions are my own.
- DSC Communications Corporation Addr: MS 153, 1000 Coit Rd, Plano, TX 75075
- ----------------------------------------------------------------------------
- --
- Duane x94916
-
- ---------------------------- Duane Thornton --------------------------------
- Internet: dthornto@spd.dsccc.com Opinions are my own.
- DSC Communications Corporation Addr: MS 153, 1000 Coit Rd, Plano, TX 75075
- ----------------------------------------------------------------------------
-